Raymond Spencer killed himself in a fifth-floor bathroom of a building on the 2900 block of Van Ness St., Fox5 reports citing police.
Spencer is believed to have fired several shots "at anyone who was out there randomly" from the fifth floor of the building around 3:30 p.m., NBC reports citing Metropolitan Police Chief Robert Contee.
He struck four victims, who were reportedly in stable condition.
Contee said the shooting was a "sniper-type setup with a tripod," and the shooter's intent was to kill.
Spencer was identified as a person of interest, and was believed to have killed himself as police entered the building.
Click here to follow Daily Voice Gaithersburg and receive free news updates.